# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-casttube
pkgver=0.2.1
pkgrel=3
pkgdesc="YouTube Chromecast API"
url="https://github.com/ur1katz/casttube"
arch="noarch"
license="MIT"
depends="python3 py3-requests"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/c/casttube/casttube-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/casttube-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"

	# remove incorrectly placed LICENSE file
	rm "$pkgdir"/usr/LICENSE
}

sha512sums="
0b077b1f622c1029e9cff949a1d1cd4f380d9110324ca6211eb4d6bc97fbf3aa4d7be47cb692c2a7628ab62b309fd9957ee6392060f27e06d030691ad8cde00f  casttube-0.2.1.tar.gz
"
